﻿using UnityEngine;
using System.Collections;
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

[Serializable]
public class Geometry  {
    public static readonly string Point = "Point";
    public static readonly string LineString = "LineString";
    public static readonly string Polygon = "Polygon";
    public static readonly string MultiPoint = "MultiPoint";
    public static readonly string MultiLineString = "MultiLineString";
    public static readonly string MultiPlygon = "MultiPlygon";
    public static readonly string GeometryCollection = "GeometryCollection";

    private string type;

    private JArray coordinates;

    public string Type
    {
        get
        {
            return type;
        }

        set
        {
            type = value;
        }
    }

    public JArray Coordinates
    {
        get
        {
            return coordinates;
        }

        set
        {
            coordinates = value;
        }
    }
}
